<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    div {
      position: relative;
      width: 300px;

      height: 200px;
      margin: 0 auto;
      perspective: 500px;

    }
    img {
      position: absolute;
      transition: all 1.5s;
    }
    img:nth-child(1) {
      z-index: 1;
      backface-visibility: hidden;
    }
    div:hover img {
      transform: rotateY(180deg);

    }
    
  </style>
</head>
<body>
  <div>
<img src="./images/qian.svg" alt="">
<img src="./images/hou.svg" alt="">

  </div>
</body>
</html>
